package effect;

/**
 * 
 * @author Anton
 *
 */
public class Growing extends Effect {
	private int bonusDamage = 0;
	public Growing(){
		name="Growing";
		description="The unit is growing, increasing it's damage by "+bonusDamage+". Increases damage by 1 more each turn.";
		imageName="barbarianIconSmallTemp.png";
		effectTypes.add(EffectType.triggerOnTurnEnd);
		effectTypes.add(EffectType.damageModifier);
	}
	
	@Override
	public void triggerOnTurnEnd(){
		bonusDamage++;
		description="The unit is growing, increasing it's damage by "+bonusDamage+". Increases damage by 1 more each turn.";
	}
	@Override
	public int getAddedMinimumDamage(int baseDamage){
		return bonusDamage;
	}
	@Override
	public int getAddedMaximumDamage(int baseDamage){
		return bonusDamage;
	}

}
